package com.ruoyi.yjgl.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 预警设置对象 tb_yjgl_yjsz
 *
 * @author ruoyi
 * @date 2023-11-11
 */
public class TbYjglYjsz extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 企业 */
    @Excel(name = "企业")
    private String qy;

    /** 能源类型 */
    @Excel(name = "能源类型")
    private String nylx;

    /** 监控频率 */
    @Excel(name = "监控频率")
    private String jkpl;

    /** 预警值 */
    @Excel(name = "预警值")
    private Long yjz;

    /** 计量单位 */
    @Excel(name = "计量单位")
    private String jldw;

    /** 预警信息 */
    @Excel(name = "预警信息")
    private String yjxx;

    /** 备注 */
    @Excel(name = "备注")
    private String bz;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cjsj;

    /** 创建人 */
    @Excel(name = "创建人")
    private String cjr;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setQy(String qy)
    {
        this.qy = qy;
    }

    public String getQy()
    {
        return qy;
    }
    public void setNylx(String nylx)
    {
        this.nylx = nylx;
    }

    public String getNylx()
    {
        return nylx;
    }
    public void setJkpl(String jkpl)
    {
        this.jkpl = jkpl;
    }

    public String getJkpl()
    {
        return jkpl;
    }
    public void setYjz(Long yjz)
    {
        this.yjz = yjz;
    }

    public Long getYjz()
    {
        return yjz;
    }
    public void setJldw(String jldw)
    {
        this.jldw = jldw;
    }

    public String getJldw()
    {
        return jldw;
    }
    public void setYjxx(String yjxx)
    {
        this.yjxx = yjxx;
    }

    public String getYjxx()
    {
        return yjxx;
    }
    public void setBz(String bz)
    {
        this.bz = bz;
    }

    public String getBz()
    {
        return bz;
    }
    public void setCjsj(Date cjsj)
    {
        this.cjsj = cjsj;
    }

    public Date getCjsj()
    {
        return cjsj;
    }
    public void setCjr(String cjr)
    {
        this.cjr = cjr;
    }

    public String getCjr()
    {
        return cjr;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("qy", getQy())
                .append("nylx", getNylx())
                .append("jkpl", getJkpl())
                .append("yjz", getYjz())
                .append("jldw", getJldw())
                .append("yjxx", getYjxx())
                .append("bz", getBz())
                .append("cjsj", getCjsj())
                .append("cjr", getCjr())
                .toString();
    }
}
